package timu1;

public class Clerk extends Employee {
    private String Manager;

    public Clerk() {
    }

    public Clerk(String manager) {
        Manager = manager;
    }

    public Clerk(String name, String workId, String dept, String manager) {
        super(name, workId, dept);
        Manager = manager;
    }

    public String getManager() {
        return Manager;
    }

    public void setManager(String manager) {
        Manager = manager;
    }

    @Override
    public void showMsg() {
        System.out.println(getDept() + "的：" + getName() + "，员工编号：" + getWorkId() + "\n" + "他的经理是" + getManager());

    }
}